package com.xinyue.authorization.dao;

import com.xinyue.authorization.bean.RoleOrg;
import java.util.List;
import com.xinyue.authorization.bean.Role;
import com.xinyue.authorization.bean.Organization;

public interface RoleOrgDao {
	//默认方法
	public void save(RoleOrg entity);
	public Integer deleteById(int id);
	public List<Role> queryRoleByOrgId(int orgId);
	public List<Organization> queryOrganizationByRoleId(int roleId);
	public Integer deleteByRoleId(int roleId);
	public Integer deleteByOrgId(int orgId);
}